package org.jlada.chassis;

public enum ChassisTypes {
	
	Other,
	
	Unknown,
	
	Desktop,
	
	Low_Profile_Desktop,
	
	Pizza_Box,
	
	Mini_Tower,
	
	Tower,
	
	Portable,
	
	Laptop,
	
	Notebook,
	
	Handheld,
	
	Docking_Station,
	
	All__in__One,
	
	Sub__Notebook,
	
	Space_Saving,
	
	Lunch_Box,
	
	Main_System_Chassis,
	
	Expansion_Chassis,
	
	Sub__Chassis,
	
	Bus_Expansion_Chassis,
	
	Peripheral_Chassis,
	
	Storage_Chassis,
	
	Rack_Mount_Chassis,
	
	Sealed__Case_PC,
	
	_Unknown
	
	;
	
	@Override
	public String toString() {
		if(this.name().contains("__"))
			return name().replaceAll("__", "-").replaceAll("_", " ");
		else if(this.name().contains("_"))
			return name().replaceAll("_", " ");
		else
			return name();
	}
}
